//
//  MainTabViewController.h
//  OnlineOrderMeals
//
//  Created by Truekey on 14-8-1.
//  Copyright (c) 2014年 mobi.truekey. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeViewController.h"
#import "LoginViewController.h"
#import "Common.h"
#import "EaseMob.h"
#import "CommunityViewController.h"


@interface MainTabViewController : UITabBarController
{
    EMConnectionState _connectionState;
}

@property (nonatomic, strong) UIButton *homeBtn;
@property (nonatomic, strong) UIButton *finderBtn;
@property (nonatomic, strong) UIButton *mcfBtn;
@property (nonatomic, strong) UIButton *UcBtn;
@property (nonatomic, strong) UIButton *messageBtn;

@property (nonatomic, strong) UIView *bottomView;

@property (nonatomic, strong) LoginViewController *loginVC;
@property (nonatomic, strong) HomeViewController *homeVC;
@property (nonatomic, strong) FinderViewController *finderVC;
@property (nonatomic, strong) BuyClassesViewController *mcfVC;
@property (nonatomic, strong) PersonCenterViewController *UcVC;
@property (nonatomic, strong) CommunityViewController *messageVC;

- (void)jumpToChatList;

- (void)setupUntreatedApplyCount;

- (void)networkChanged:(EMConnectionState)connectionState;

- (void)didReceiveLocalNotification:(UILocalNotification *)notification;
- (void)tabbar_buttonClick:(id)sender;


@end
